<!doctype html>
<html>

<head>
  <!-- 基础页面设置 -->
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
  <title>地图显示</title>
  <link rel="stylesheet" href="https://a.amap.com/jsapi_demos/static/demo-center/css/demo-center.css" />
  <link rel="stylesheet" href="./css/styles.css" />
</head>

<body>
  <!-- 主要容器和控制元素 -->
  <div id="container"></div>
  <button id="clearMarkersButton">清除红点</button>
  <div id="autoTrackStatus">自动跟踪无人机</div>
  <div id="coordinatesLabel">纬度: - , 经度: -</div>
  <div id="droneCountLabel">当前无人机数量: 0</div>

  <!-- 地图控制工具卡片 -->
  <div class='input-card'>
    <div class="input-item">
      <input type="checkbox" onclick="toggleScale(this)" />比例尺
    </div>
    <div class="input-item">
      <input type="checkbox" id="toolbar" onclick="toggleToolBar(this)" />工具条
    </div>
    <div class="input-item">
      <input type="checkbox" id="controlBar" onclick="toggleControlBar(this)" />工具条方向盘
    </div>
    <div class="input-item">
      <input type="checkbox" id="overview" checked onclick="toggleOverViewShow(this)" />显示鹰眼
    </div>
  </div>

  <!-- 地图API和WebChannel脚本 -->
  <script
    src="https://webapi.amap.com/maps?v=2.0&key=da6f3fbf89b6eb5261f67d858c640547&plugin=AMap.Scale,AMap.HawkEye,AMap.ToolBar,AMap.ControlBar,AMap.MoveAnimation"></script>
  <!-- 引入Qt WebChannel通信库,该文件位于Qt安装目录下的qtwebchannel文件夹中 -->
  <script src="qrc:///qtwebchannel/qwebchannel.js"></script>
  <script src="./js/script.js"></script>
</body>

</html>